﻿namespace Ymatou.UserAuth.Agent.Sso
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    /// <summary>
    /// URL，Cookie，参数变量
    /// </summary>
    public class ConstParameter
    {
        /// <summary>
        ///sso Query Token 
        /// </summary>
        public const string QueryToken = "token";
        /// <summary>
        /// UserLoginId
        /// </summary>
        public const string UserLoginId = "loginId";
        /// <summary>
        /// javascript jsonp 'callback'
        /// </summary>
        public const string Callback = "callback";
        /// <summary>
        /// 认证
        /// </summary>
        public const string AuthKey = "_ymatou_";
        /// <summary>
        /// LoginId
        /// </summary>
        public const string LoginId = "lid";
        /// <summary>
        /// Uid
        /// </summary>
        public const string uId = "uId";
        /// <summary>
        /// SSO cookie key （server）
        /// </summary>
        public const string SSOCOOKIEKEY = "_ymttokens";
        /// <summary>
        /// SSO cookie key（client） sign
        /// </summary>
        public const string SSOCOOKIEKEY_CLIENT_SIGN = "_ymttoken";
        /// <summary>
        ///  SSO cookie key（client） user flag
        /// </summary>
        public const string SSOCOOKIEKEY_CLIENT_USERFLAG = "_ymtuser";
        /// <summary>
        /// 来源站点回退路径
        /// </summary>
        public const string ReturnUrl = "RUrl";
        /// <summary>
        /// 码头用户登录cookie key （ymt_login）
        /// </summary>
        public const string YMATOUUSERLOGIN = "ymt_login";
    }
}
